<div class="<?php echo $include_file;?>">
	<table border="1" width="600">
		<tr>
			<th>书架编号</th>
			<th>书架名称</th>
			<th>图书数量</th>
			<th>修改</th>
			<th>删除</th>
		</tr>
		<?php $num=0; foreach($bookcases as $bookcase):?>
		<tr>
			<td><?php echo ++$num;?></td>
			<td><?php echo $bookcase['name'];?></td>
			<td><?php echo $bookcase['num'];?></td>
			<td><a href="index.php?c=bookcase&a=edit&id=<?php echo $bookcase['id'];?>">修改</a></td>
			<td><a href="index.php?c=bookcase&a=delete&id=<?php echo $bookcase['id'];?>" onclick="JavaScript:return confirm('你确定要删除该书架吗?')">删除</a></td>
		</tr>
		<? endforeach;?>
	</table>
	<p><?php echo $pageinfo;?></p>
</div>